package com.mdd.front.constant;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.RequiredArgsConstructor;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;


@Data
@Configuration
@AllArgsConstructor
public class YmlConstant {
    @Value("${icbc.serviceUrl}")
    public   String serviceUrl;

    //二维码支付
    @Value("${icbc.api-aggregatepay-applet-QR}")
    public  String aggregatepayV1;

    @Value("${icbc.merId}")
    public  String merId;

    @Value("${icbc.merPrtclNo}")
    public  String merPrtclNo;

    @Value("${icbc.shopAppid}")
    public  String shopAppid;

    @Value("${icbc.merUrl}")
    public  String merUrl;

    @Value("${wx.app.appId}")
    public  String wxAppId;

    @Value("${icbc.appId}")
    public  String appId;

    @Value("${wx.app.mchId}")
    public  String mchId;

    @Value("${icbc.privateKey}")
    public  String icbcPrivateKey;

    @Value("${icbc.apiGatewayPublicKey}")
    public  String apiGatewayPublicKey;

    @Value("${icbc.api-aggregatepay-refundqry}")
    public  String icbcRefundqry;

    @Value("${icbc.publicKey}")
    public  String icbcPublicKey;

    // 添加无参构造函数
    public YmlConstant() {
        this.serviceUrl = null; // or provide a default value
    }

}
